package com.avocado.bt.impl.action;

import com.avocado.bt.BTState;
import com.avocado.bt.IBTContext;
import com.avocado.bt.abs.action.ActionNode;

/**
 * @Author: zsh
 * @Date: 2023/10/16 17:21
 */
public class RunawayActionNode extends ActionNode {
    public RunawayActionNode(String param) {
        super(param);
    }

    @Override
    public BTState doUpdate(IBTContext context) {
        System.out.println("RunawayActionNode 逃跑");
        return BTState.Completed;
    }
}
